lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 22:06:27 +0000 (22:06 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 17 Jun 2013 22:06:27 +0000 (22:06 +0000)
commit2ecb5db3234cce42811240e9187eaf1635a9606f
tree2a66c332cba45d434e8fc2563d09673b14c4c96b
parenta930b3ccfe5f3ad3731fd0a510237a39e6bead6c
lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master

lisp/gnus/eww.el (eww-tag-select): Don't render totally empty <select> forms.
(eww-convert-widgets): Don't bug out if the first widget starts at the beginning of the buffer.
(eww-convert-widgets): Fix last patch.

lisp/gnus/shr.el (shr-insert-table): Respect border-collapse: collapse.
(shr-tag-base): Protect against base specs that are degenerate.
(shr-ensure-paragraph): Don't delete empty lines that have text properties, because these may be input fields.

lisp/gnus/eww.el (eww-convert-widgets): Put `help-echo' on input fields so that we can navigate to them.

lisp/gnus/shr.el (shr-colorize-region): Put the colours over the entire region.
(shr-inhibit-decoration): New variable.
(shr-add-font): Use it to inhibit text property decorations while doing preliminary table renderings.  This speeds up typical Wikipedia page renderings by 15%.
(shr-tag-span): Don't respect the <title>, because that overwrites the help-echo from links inside the spans.
(shr-next-link): Use `help-echo' for navigation, so that we can navigate to form elements, too.

lisp/gnus/eww.el (eww-button): New face.
(eww-convert-widgets): Use it to make submit buttons more button-like.
lisp/gnus/ChangeLog
lisp/gnus/eww.el
lisp/gnus/shr.el